package com.example.demo.controller;

import com.example.demo.scheduledtask.TestTask;
import com.example.demo.scheduledtask.WmsPurchaseCallback;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author : Zhang.yt
 * @date : 2024/3/5
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @Resource
    private TestTask testTask;

    @RequestMapping("/pickingOutCallback")
    public String pickingOutCallback() {
//        testTask.pickingOutCallback();
        return "成功！";
    }
}
